import {Home} from '@/pages/home/index'
import {Individual} from '@/pages/individual/index'
import {Login} from '@/pages/auth/login'
import {About} from '@/pages/about/index'
const router:any = {
  other:[
    {
      path: '/',
      component:Login,
      meta: {
        title: '登陆',
        auth: false,
      },
    },
    {
      path: '/login',
      component:Login,
      meta: {
        title: '登陆',
        auth: false,
      },
    },
    {
      path: '/about',
      component: About,
      meta: {
        title: '关于我们',
        auth: true,
      },
    },
  ],
  tabs:[
    {
      path: '/home',
      component: Home,
      meta: {
        title: '首页',
        auth: true,
        isBottomTab:true
      },
    },
    {
      path: '/individual/main',
      component: Individual,
      meta: {
        title: '我的',
        auth: true,
        isBottomTab:true
      },
    },
  ]
};

export default router;